from Base.Base import Base
from selenium.webdriver.common.by import By
import time



class Page3(Base):

    # 点击客户列表页面
    click_user_loc = (By.XPATH, '/html/body/div[1]/div/section/aside/ul/li[2]/ul/li[2]')
    def click_user(self):
        self.click(self.click_user_loc)

    # 点击分页
    click_fenye_loc = (By.XPATH, '/html/body/div[1]/div/section/section/main/div[2]/ul/li[1]')
    def click_fenye(self):
        self.click(self.click_fenye_loc)

    # 点击删除按钮
    click_del_loc = (By.XPATH, '/html/body/div[1]/div/section/section/main/div[1]/div/div[1]/div[3]/div/div[1]/div/table/tbody/tr[1]/td[8]/div/i[2]/svg')

    def click_del(self):
        self.click(self.click_del_loc)





